Skip to content

Conversation

@4gust
Copy link
Collaborator

@4gust 4gust commented May 19, 2025

Description

This pull request introduces enhancements to the IMDS (Instance Metadata Service) retry logic in the Microsoft Authentication Library for Go (MSAL Go). The updates aim to improve the reliability and resilience of token acquisition when interacting with Azure IMDS endpoints, particularly under transient network failures or service unavailability scenarios.

Key changes:

  • Adjusted backoff intervals and retry limits for improved fault tolerance.
  • Added or updated corresponding unit tests to ensure correct retry behavior.

These improvements help ensure more consistent authentication experiences for applications running in Azure environments that rely on managed identities.


Please review the changes and provide feedback or suggestions for further improvements.

@4gust 4gust requested review from bgavrilMS and rayluo as code owners May 19, 2025 13:56
@4gust 4gust requested review from AndyOHart and chlowell and removed request for AndyOHart May 19, 2025 13:56
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants